<template>
  <NuxtLayout>
    <NuxtPage />
  </NuxtLayout>
</template>

<script setup lang="ts">
// 组件会自动注册
const userStore = useUserStore();
onMounted(async () => {
  await userStore.init();
});
</script>

<style lang="scss">
@use '~/assets/scss/index.scss';
</style>

<style>
@import url('element-plus/dist/index.css');
</style>
